package com.idanchuang.support.mybatis.crypt.annotation;

import java.lang.annotation.*;

/**
 * 加解密注解
 *
 * @author kamjin1996

 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER})
public @interface CryptField {

    boolean encrypt() default true;

    boolean decrypt() default true;
}
